<nz-tabset [(nzSelectedIndex)]="selectedIndex" nzType="editable-card" (nzClose)="closeTab($event)">
    <nz-tab *ngFor="let tab of tabs" nzClosable></nz-tab>

</nz-tabset>